package pw.goyd.game.logic;

import pw.goyd.protocol.core.Serializer;

/**
 * 请求匹配房间
 *
 * @author StanWind
 */
public class GetPlayRequest extends Serializer {
    private int leastScore;

    @Override
    protected void read() {
        leastScore = readInt();
    }

    @Override
    protected void write() {
        writeInt(leastScore);
    }

    public int getLeastScore() {
        return leastScore;
    }

    public void setLeastScore(int leastScore) {
        this.leastScore = leastScore;
    }

}
